<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>即将上映-郫县电影</title>
<link rel="short icon"  href="/photo/head.png"/>
<style>
/*伪类选择器*/
.city-container:hover>div.city-list {
	display: block;
	background-color: block;
}

.header .nav .navbar li a:hover {
	color: #ef4238;
}

.header .user-info .user-avatar:hover {
	border-color: #d8d8d8;
}

.header .user-info .user-avatar:hover .caret {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.city-container:hover .caret {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.header .user-info .user-avatar:hover .user-menu {
	display: block;
}

.city-container .city-list ul li div a:hover {
	background-color: #ef4238;
	color: #fff;
}

.header .user-info .user-menu li>a:hover {
	color: #ef4238;
	text-decoration: underline;
}

.footer .friendly-links a:hover {
	text-decoration: underline;
}

.subnav .navbar li a:hover {
	color: #fff;
}

.subnav .navbar li .active:hover {
	color: #ef4238;
}

.tags a:hover {
	color: #ef4238;
}

/*伪类组合选择器*/
a:focus, div:focus, input:focus {
	outline: none;
}

a:active, a:hover {
	outline-width: 0;
}

/*组合选择器*/
.header form, .header h3, .header input, .header li, .header ul {
	padding: 0;
	margin: 0;
	list-style: none;
	border: none;
}

ul, ul li {
	list-style: none;
}

dd, dl, dt, h1, h2, h3, h4, h5, h6, li, p, ul {
	margin: 0;
	padding: 0;
}

.footer p, .footer p a {
	color: #666;
}

.subnav li, .subnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags-panel li, .tags-panel ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*标签选择器*/
html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: Microsoft YaHei, Helvetica, Arial, sans-serif;
	background-color: #fff;
	-webkit-font-smoothing: subpixel-antialiased;
	margin: 0;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
	text-decoration: none;
}

img {
	border-style: none;
}

button, input {
	overflow: visible;
}

button, input, select, textarea {
	font: inherit;
	margin: 0;
}

/*类选择器*/
.header {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	min-width: 1200px;
	background-color: #fff;
	border-bottom: 1px solid #d8d8d8;
}

.header-inner {
	width: 1200px;
	margin: 0 auto;
	height: 80px;
}

.header .logo {
	float: left;
	width: 133px;
	height: 80px;
	background:
		url(…mAM7EgqAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=)
		no-repeat 0;
	background-size: contain;
}

.city-container {
	position: relative;
	float: left;
	margin: 0 8px;
	height: 100%;
}

.city-container .city-selected {
	cursor: pointer;
	height: 100%;
	padding: 0 10px;
	border: 1px solid transparent;
	border-width: 0 1px;
	z-index: 101;
}

.city-container .city-name {
	display: inline-block;
	margin-top: 32px;
	color: #333;
}

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 5px solid #666;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
}

.city-container .city-list {
	background-color: #fff;
	border: 1px solid #d8d8d8;
	position: absolute;
	z-index: 100;
	width: 478px;
	height: 330px;
	overflow-y: scroll;
	left: 0;
	top: 80px;
	display: none;
}

.city-container .city-list .city-list-header {
	padding-left: 20px;
	line-height: 58px;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 10px;
}

.city-container .city-list .city-list-header a {
	cursor: pointer;
}

.city-container .city-list ul li {
	line-height: 30px;
}

.city-container .city-list ul li span {
	margin-left: 20px;
	width: 20px;
	text-align: center;
	float: left;
	vertical-align: top;
	display: block;
	background-color: #eee;
	font-weight: 700;
	line-height: 20px;
	margin-top: 5px;
}

.city-container .city-list ul li div {
	margin-left: 40px;
	display: block;
	margin-bottom: 10px;
}

.city-container .city-list ul li div a {
	display: inline-block;
	line-height: 24px;
	margin-top: 3px;
	padding: 0 5px;
	text-align: center;
	cursor: pointer;
}

.header .nav {
	display: inline-block;
	background-color: #fff;
	overflow: hidden;
	float: left;
	width: 490px;
	height: 80px;
}

.header .nav .navbar li {
	float: left;
	width: 110px;
	height: 80px;
}

.header .nav .navbar li a {
	text-align: center;
	display: inline-block;
	height: 80px;
	line-height: 80px;
	width: 110px;
	font-size: 18px;
	color: #333;
}

.header .nav .navbar li a.active {
	color: #fff;
	background-color: #ef4238;
}

.header .user-info {
	float: right;
	position: relative;
	z-index: 9999;
	height: 100%;
}

.header .user-info .user-avatar {
	display: block;
	border: 1px solid transparent;
	border-top: none;
	border-bottom: none;
	padding: 0 10px;
	width: 56px;
	height: 100%;
}

.header .user-info .user-avatar img {
	margin-top: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
}

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 5px solid #666;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
}

.header .user-info .user-avatar .caret {
	position: absolute;
	top: 39px;
	right: 10px;
}

.header .user-info .user-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 80px;
	border: 1px solid #d8d8d8;
	background-color: #fff;
	font-size: 14px;
	color: #333;
	text-align: right;
	padding: 15px 26px 5px;
	text-align: center;
}

.header .user-info .user-menu li {
	margin-bottom: 6px;
}

.header .user-info .user-menu li>a {
	color: #999;
	display: block;
	word-break: keep-all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header form {
	float: right;
	margin: 20px 10px 0 0;
	position: relative;
}

.header form .search {
	display: inline-block;
	height: 40px;
	line-height: 1.2;
	width: 220px;
	padding: 0 40px 0 20px;
	border: 1px solid #ccc;
	font-size: 14px;
	border-radius: 30px;
	background-color: #faf8fa;
	overflow: hidden;
	color: #333;
}

.header form input {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.header form .submit {
	display: inline-block;
	position: absolute;
	left: 180px;
	top: 0;
	height: 40px;
	width: 40px;
	background-color: #ef4238;
	border-radius: 30px;
	background-image: url(photo/MaoYaoShouYe/16pic_2081134_b.jpg);
	cursor: pointer;
}

.footer {
	background-color: #262426;
	padding: 56px 0;
	margin: 0 auto;
	min-width: 1200px;
	visibility: hidden;
	margin-top: 82px;
}

.footer p {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 14px;
	line-height: 20px;
}

.footer .friendly-links a {
	color: #ef4238;
}

.friendly-links span {
	display: inline-block;
	border-left: 1px solid #444;
	margin: 0 7px;
	height: 12px;
	position: relative;
	top: 1px;
}

.subnav {
	background-color: #47464a;
	height: 60px;
	width: 100%;
	min-width: 1200px;
	text-align: center;
	margin-top: 81px;
}

.subnav .navbar {
	display: inline-block;
	overflow: hidden;
}

.subnav .navbar li {
	display: inline-block;
	float: left;
}

.subnav .navbar li .active {
	color: #ef4238;
	position: relative;
	cursor: default;
}

.subnav .navbar li a {
	display: block;
	font-size: 16px;
	color: #999;
	height: 60px;
	line-height: 60px;
	padding: 0 40px;
}

.container {
	width: 1200px;
	margin: 0 auto;
}

.movies-channel {
	width: 1120px;
	margin: auto;
	overflow: hidden;
}

.tags-panel {
	border: 1px solid #e5e5e5;
	padding: 0 20px;
	margin-top: 40px;
}

.movies-panel {
	margin-top: 40px;
}

.tags-line {
	padding: 10px 0 !important;
}

.tags-title {
	height: 24px;
	line-height: 24px;
	float: left;
	color: #999;
	font-size: 14px;
}

.tags {
	margin-left: 40px !important;
}

.tags li.active {
	background: #f34d41;
	color: #fff;
}

.tags li {
	border-radius: 14px;
	padding: 3px 9px;
	display: inline-block;
	margin-left: 12px;
}

.tags li.active a {
	color: #fff;
}

.tags li a {
	color: #333;
	font-size: 14px;
}

.tags-line-border {
	border-top: 1px dotted #e5e5e5;
}

.movies-sorter {
	overflow: hidden;
}

.movies-sorter .cat-sorter {
	float: left;
	padding-left: 2px;
}

.movies-sorter ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.movies-sorter li {
	display: inline-block;
	height: 16px;
	line-height: 18px;
	margin-right: 30px;
}

.sort-control-group {
	cursor: pointer;
	line-height: 16px;
}

.sort-control {
	display: inline-block;
	vertical-align: top;
	width: 16px;
	height: 16px;
	margin-right: 2px;
}

.sort-control-label {
	font-size: 14px;
	vertical-align: top;
}

.movies-sorter .play-sorter {
	text-align: right;
	padding-right: 10px;
	display: none;
}

/*type*/
[type=search] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type=reset], [type=submit], button, html [type=button] {
	-webkit-appearance: button;
}

.movies-list {
	overflow: hidden;
	margin-top: 20px;
}

.movie-list {
	margin: -29px 0 20px -50px;
}

.movie-list dd {
	margin: 30px 0 0 30px;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.movie-item {
	position: relative;
	border: 1px solid #efefef;
	margin: -1px;
}

.movie-poster {
	background-color: #fcfcfc;
	width: 160px;
	height: 220px;
	overflow: hidden;
	position: relative;
}

.movie-poster .movie-overlay, .movie-poster img {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.channel-action {
	position: absolute;
	right: 5px;
	bottom: 5px;
	padding: 0 3px;
	height: 18px;
	line-height: 18px;
	border-radius: 1px;
}

.channel-action-sale {
	background-color: #f34d41;
}

.channel-action a {
	color: #fff;
	font-size: 12px;
	vertical-align: top;
}

.movie-ver {
	position: absolute;
	top: 4px;
	left: -2px;
	font-size: 12px;
	color: #fff;
}

.movie-ver i.imax3d {
	width: 69px;
	height: 25px;
	background-image:
		url(…lF5QcMGzsCI+ZOw4gNa2PjgH5Hgf/13/hh+cnyfLzBvgAoTBNzukOVAAAAAABJRU5ErkJggg==);
}

.movie-ver i {
	display: inline-block;
}

.channel-detail {
	width: 160px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
	font-size: 16px;
	color: #333;
	margin-top: 10px;
}

.channel-detail a {
	color: #333;
}

.channel-detail-orange, .channel-detail-prescore {
	color: #ffb400;
}

.channel-detail-orange .integer {
	font-size: 18px;
}

.channel-detail-orange .fraction {
	font-size: 14px;
}

.stonefont {
	font-family: stonefont;
}
</style>
</head>
<body>
	<div class="header">
		<div class="header-inner">
			<a href="/" class="logo" data-act="icon-click"></a>
			<div class="city-container" data-val="{currentcityid:59 }">
				<div class="city-selected">
					<div class="city-name">
						成都 <span class="caret"></span>
					</div>
				</div>
				<div class="city-list" data-val="{ localcityid: 59 }">
					<div class="city-list-header">
						定位城市： <a class="js-geo-city">成都</a>
					</div>

				</div>
			</div>


			<div class="nav">
				<ul class="navbar">
					<li><a href="/home" data-act="home-click">首页</a></li>
					<li><a href="/filmBeShowing" data-act="movies-click"
						class="active">电影</a></li>
					<li><a href="/cinemas" data-act="cinemas-click">影院</a></li>
				</ul>
			</div>

			<div class="user-info">
				<div class="user-avatar J-login">
					<img
						src="https://p0.meituan.net/movie/7dd82a16316ab32c8359debdb04396ef2897.png">
					<span class="caret"></span>
						<c:choose>
							<c:when test="${sessionScope.cur_user == null }">
								<ul class="user-menu">
									<li><a  href="/login">登录</a></li>
								</ul>							
							</c:when>
							<c:otherwise>
								<ul class="user-menu">
									<li><a  href="/logoff">注销</a></li>
									<li><a  href="/user_update">个人信息</a></li>
								</ul>		
							</c:otherwise>
						</c:choose>
				</div>
			</div>
			<form action=""/findfilms_byname"" target="_blank" class="search-form"
				data-actform="search-click">
				<input name="name" class="search" type="search" maxlength="32"
					placeholder="找影视剧、影人、影院" autocomplete="off"> <input
					class="submit" type="submit" value="">
			</form>
		</div>
	</div>
	<div class="header-placeholder"></div>
	<div class="subnav">
		<ul class="navbar">
			<li><a data-act="subnav-click" data-val="{subnavClick:1}"
				data-state-val="{subnavId:1}" href="/filmBeShowing">正在热映</a></li>
			<li><a data-act="subnav-click" data-val="{subnavClick:2}"
				class="active" href="/filmWillShow">即将上映</a></li>
			<li><a data-act="subnav-click" data-val="{subnavClick:3}"
				href="/filmShowed">经典影片</a></li>
		</ul>
	</div>

	<div class="container" id="app">
		<div class="movies-channel">
			<div class="movies-panel">
				<div class="movies-list">
					<dl class="movie-list">
					<c:forEach items="${ requestScope.filmsWillShowing}" var="film">
						<dd>
							<div class="movie-item">
								<a href="/films/${film.movieId }" target="_blank" data-act="movie-click"
									data-val="{movieid:1198925}">
									<div class="movie-poster">
										<img
											src="${film.cover}">
									</div>
								</a>
								<div class="channel-action channel-action-sale">
									<a>购票</a>
								</div>
								<div class="movie-ver">
									<i class="imax3d"></i>
								</div>
							</div>
							<div class="channel-detail movie-item-title" title="${film.filmName }">
								<a href="/films/${film.movieId }" target="_blank" data-act="movies-click"
									data-val="{movieId:1198925}">${film.filmName }</a>
							</div>
							<div class="channel-detail channel-detail-orange">
								<span class="stonefont">15000</span>人想看
							</div>
						</dd>
						</c:forEach>
					</dl>
				</div>
			</div>
		</div>
	</div>

</body>
</html>